
{extend name='../../admin/view/table'}


{block name="content"}
<div class="think-box-shadow">
    <table id="oplog" data-url="{:sysuri()}" data-target-search="form.form-search"></table>
</div>
{/block}
{block name='script'}
<script>
    $(function () {
        $('#oplog').layTable({
            even: true, height: 'full',
            sort: {field: 'id desc,id', type: 'desc'},
            cols: [[
                // {checkbox: true},
              {field: 'deviceName', title: '设备名称',width:150},
              {field: 'topic', title: 'topic'},
              {field: 'remark', title: '操作标识',width:150},
              {field: 'items', title: '属性内容'},
              {field: 'create_at', title: '操作时间'},
            ]]
        });

    });

</script>
{/block}